<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head id="Head1">
	<meta name="renderer" content="webkit" />
		<title>用户登录</title>
	    <script type="text/javascript" src="/assets/scripts/jquery-2.1.3.min.js"></script>
	    <script type="text/javascript" src="/assets/scripts/jquery.cookie.js"></script>
		<link href="/assets/styles/bootstrap.min.css" rel="stylesheet" type="text/css">
		<link href="/assets/styles/templatemo_style.css" rel="stylesheet" type="text/css">	
		
		<script language="javascript" type="text/javascript">

			$(document).ready(function(){
				var issuccess = $.cookie("issuccess");
				if (issuccess == "false") {
					$("#logininfos").append("用户名或者密码错误，请重新登录！");
				}
			});

			

	        function subits(){
	        	if ($("#loginname").val() == "" || $("#password").val() == "") {
	        		$("#logininfos").html("请输入用户名和密码！");
	        		return;
	        	} else {
				    $("#login").submit();
				}
	        }

            //点击回车按键提交
			function enterEvent(evt){
				if(evt == 13){
					subits();
				}
			}
		</script>
  
	</head>
	<body class="templatemo-bg-gray">	

		<div class="container" style=" width:1400px;height:710px;padding-top:30px;">

			<div style="background-image:url(/assets/images/loginBG.png);width:1400px;height:710px;">
			
			<!-- 右侧部分 -->
			<div class="col-md-12" style="width:350px;height:600px;left:65%;top:16%" >
				<form name="login" class="form-horizontal templatemo-container templatemo-login-form-1 margin-bottom-30" id="login" action="../login.do" method="post" style="width:350px;height:425px;" >	
					<h1 style="color:#1163ad;font-size:30px;margin-top: -18px;margin-bottom: -12px;text-align: left">登录</h1><hr>
					
					<div class="form-group">
			          	<div class="col-xs-12">		            
				            <div class="control-wrapper" style="padding-left: 0px;">
				            	<label for="loginname" class="control-label fa-label"><i class="fa fa-user fa-medium"></i></label>
				            	<input type="text" class="form-control" id="loginname" name="loginname" placeholder="用户名" onkeydown="enterEvent(event.keyCode)" />
				            </div>		            	            
			          	</div>              
			        </div>


			        <div class="form-group">
			          	<div class="col-md-12">
				          	<div class="control-wrapper" style="padding-left: 0px;">
				            	<label for="password" class="control-label fa-label"><i class="fa fa-lock fa-medium"></i></label>
				            	<input type="password" class="form-control" id="password" name="password"　placeholder="密码" onkeydown="enterEvent(event.keyCode)"/>
				            </div>
			          	</div>
			        </div>


			        <div class="form-group" style="">
			          	<div class="col-md-12" style="padding-left: 0px;">
			             	<div class="checkbox control-wrapper" style="padding-left: 0px;margin-top: -25px;margin-bottom: -19px;">
			                	<label style="padding-left: 40px;">
			                  		<input type="checkbox"> 记住密码
		                		</label >
								&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		                		<a href="" style="color: #3f89ec;">忘记密码？</a>
			              	</div>
			          	</div>
			        </div>



			        <div class="form-group" style="text-align:center;">

			        	<span id="logininfos" style="color:#FF0000;font-size:0.8em">

			        	</span>

			          	<div class="col-md-12" style="margin-top:3px;">
				          	<div class="control-wrapper" style="padding-left: 0px;" >
				          		<input type="button"  value="登录" onclick="subits()" class="btn btn-info" style="width:290px;"> 
				          	</div>
			          	</div>
			        </div>
			        <hr>
			        <div id="haha" >
			        	<label style="font-size:50%;color:#f36262">
			        		使用须知：
			        	</label>
			        	<label style="font-size:50%">
			        		1.请自觉遵守《信息安全管理规范》以及《海尔员工行为规范》。<br/>
			        		2.使用IE10及以上 火狐、谷歌等浏览器，将提升您系统的使用体验。<br/>
			        		3.<a href="//10.138.22.94:8888/ktsyfile/software/360se_setup.exe" style="color: #3f89ec;">下载360安全浏览器</a>
			        	</label>
						
			        </div>
			      </form>



				</div>
			</div>
		</div>
	</body>
</html>